package com.zkx.mvp.persenter.support;

import com.zkx.mvp.model.base.HttpResult;

import rx.functions.Func1;

/**
 * Author：zhangkx on 2017/6/16 16:57
 * Email：zkx9025@163.com
 */

public class HttpResultFunc<T> implements Func1<HttpResult<T>, T> {
    @Override
    public T call(HttpResult<T> httpResult) {
        return httpResult.getResult();
    }
}
